﻿using LH.Model.APAR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XXX.Models.GL;

namespace LH.Models.APAR
{
    public class Api_APVouch
    {

        public string accid  { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cVouchID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dVouchDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cDwCode { get; set; }
       
        /// <summary>
        /// 
        /// </summary>
        public string cDeptCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cBankAccount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cPerson { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cItem_Class { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cItemCode { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string cDigest { get; set; }
        /// <summary>
        /// 人民币
        /// </summary>
        public string cexch_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iExchRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iAmount_f { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iAmount { get; set; }

        //应付科目
        public string cCode { get; set; }

        //制单人
        public string cMaker { get; set; }
        //明细
        public List<Details> itemList { get; set; }

        public class Details
        {

            public string cCode { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string cDwCode { get; set; }
            
            /// <summary>
            /// 
            /// </summary>
            public string cDeptCode { get; set; }
         
            /// <summary>
            /// 
            /// </summary>
            public string cPerson { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string cItem_Class { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string cItemCode { get; set; }
            /// <summary>
            /// 摘要
            /// </summary>
            public string cDigest { get; set; }
            /// <summary>
            /// 人民币
            /// </summary>
            public string cexch_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string iExchRate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string iAmount_f { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string iAmount { get; set; }
             


        }
    }

}